P+ - King Dedede - Common Subroutine 0x234f8

  1. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirection) }
  2. if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
    1. IfStatementAnd ((InternalConstantInt (0x520b) LessThan InternalConstantInt (0x5a54)))
    2. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 276 }
    3. else
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 277 }
      2. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
    4. BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
    5. UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
  3. else
    1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
      1. IfStatementAnd ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0xc57)))
      2. IntVariableSet { variable: RandomAccessInt (0x0), value: 278 }
      3. BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
      4. UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
    2. else
      1. if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
        1. IfStatementAnd ((InternalConstantInt(EffectOfAttack) LessThan InternalConstantInt (0xc59)))
        2. IntVariableSet { variable: RandomAccessInt (0x0), value: 279 }
        3. BoolVariableSetTrue { variable: LongtermAccessBool (0x2a) }
        4. UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(25)] }
      2. else
        1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc52)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 274 }
        2. else
          1. if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc53)))
            1. IntVariableSet { variable: RandomAccessInt (0x0), value: 275 }
          2. else
            1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
              1. IntVariableSet { variable: RandomAccessInt (0x0), value: 272 }
            2. else
              1. IntVariableSet { variable: RandomAccessInt (0x0), value: 273 }
              2. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
  4. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }